<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>resize属性</title>
    <style type="text/css">
        textarea{
            width: 100px;
            height: 100px;
            border: 1px solid red;
            resize: vertical;
        }
        div{
            width: 100px;
            height: 100px;
            border: 1px solid red;
            resize: both;
            overflow: auto;
        }
        span{
            display: block;
            width: 100px;
            height: 100px;
            border: 1px solid red;
            resize: both;
            /*
             overflow：控制内容溢出
            */
            overflow: auto;
        }
    </style>
</head>
<body>
       <!-- 可以由用户调整元素的大小-->
     <textarea>这是一个盒子</textarea>
      <div>这是一个段落</div>
      <span>这是一个span</span>
</body>
</html>